<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            width: 300px;
            height: 300px;
            background: red;
        }
        .son{
            width: 100px;
            height: 100px;
            background-color: rebeccapurple;
        }
    </style>
</head>
<body>
    <div class="box">
        <div class="son"></div>
    </div>
    <script src="js/jquery-3.2.1.js"></script>
    <script>
        $('.box').click(function(){
            console.log("我是爸爸")
        })
        $('.son').click(function(){
            console.log("你是儿子")
            // jq中阻止事件冒泡的方法
            return false
        })
    </script>
</body>
</html>